package com.atguigu.spring.tx.component.serivice.api;

import java.io.FileNotFoundException;

/**
 * @author : zzf
 * @date : 2021/1/5
 */


public interface EmpService {

    void updateTwice();

    void updateSingle() throws FileNotFoundException, InterruptedException;

    String getEmpNameById(Integer empId);

    void updateEmpName(Integer empId, String empName);

}

